<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Awesome-pyecharts</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>

</head>
<body>
    <div id="c84f5b71725b48ac82380721a754e9f5" class="chart-container" style="width:800px; height:600px;"></div>
    <script>
        var chart_c84f5b71725b48ac82380721a754e9f5 = echarts.init(
            document.getElementById('c84f5b71725b48ac82380721a754e9f5'), 'white', {renderer: 'canvas'});
        var option_c84f5b71725b48ac82380721a754e9f5 = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "color": [
        "#7fb80e",
        "#007d65",
        "#fcaf17",
        "#FF7256"
    ],
    "series": [
        {
            "type": "pie",
            "name": "\u5ba2\u6237\u5360\u6bd4\u533a\u95f4",
            "clockwise": true,
            "data": [
                {
                    "name": "\u6d41\u5931\u5ba2\u6237",
                    "value": 6423
                },
                {
                    "name": "\u8fb9\u7f18\u5ba2\u6237",
                    "value": 3444
                },
                {
                    "name": "\u6f5c\u5728\u5ba2\u6237",
                    "value": 367
                },
                {
                    "name": "\u5fe0\u8bda\u5ba2\u6237",
                    "value": 5
                }
            ],
            "radius": [
                "20%",
                "50%"
            ],
            "center": [
                "50%",
                "50%"
            ],
            "roseType": "radius",
            "label": {
                "show": true,
                "position": "outside",
                "margin": 8,
                "formatter": "{a|{a}}{abg|}\n{hr|}\n {b|{b}\u7684\u4e2a\u6570: }{c}\u4e2a  {per|{d}%}  ",
                "backgroundColor": "#eee",
                "borderColor": "#aaa",
                "borderWidth": 2,
                "borderRadius": 4,
                "rich": {
                    "a": {
                        "color": "#999",
                        "lineHeight": 20,
                        "align": "center"
                    },
                    "abg": {
                        "backgroundColor": "#e3e3e3",
                        "width": "100%",
                        "align": "right",
                        "height": 22,
                        "borderRadius": [
                            4,
                            4,
                            0,
                            0
                        ]
                    },
                    "hr": {
                        "borderColor": "#aaa",
                        "width": "100%",
                        "borderWidth": 0.5,
                        "height": 0
                    },
                    "b": {
                        "fontSize": 14,
                        "lineHeight": 35
                    },
                    "per": {
                        "color": "#eee",
                        "backgroundColor": "#334455",
                        "padding": [
                            2,
                            5
                        ],
                        "borderRadius": 2
                    }
                }
            }
        }
    ],
    "legend": [
        {
            "data": [
                "\u6d41\u5931\u5ba2\u6237",
                "\u8fb9\u7f18\u5ba2\u6237",
                "\u6f5c\u5728\u5ba2\u6237",
                "\u5fe0\u8bda\u5ba2\u6237"
            ],
            "selected": {},
            "show": true,
            "left": "90%",
            "top": "3%",
            "orient": "vertical",
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "showContent": true,
        "alwaysShowContent": false,
        "showDelay": 0,
        "hideDelay": 100,
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0,
        "padding": 5
    },
    "title": [
        {
            "text": "\u5ba2\u6237\u56de\u8d2d\u6b21\u6570\u5206\u7c7b\u5360\u6bd4",
            "padding": 5,
            "itemGap": 10
        }
    ]
};
        chart_c84f5b71725b48ac82380721a754e9f5.setOption(option_c84f5b71725b48ac82380721a754e9f5);
    </script>
</body>
</html>
